package org.abluedog.ssfb.pdc;

public class BodyComposition {

    /**
     * 年龄
     */
    private double age;

    /**
     * 身高
     */
    private double height;

    /**
     * 体重
     */
    private double weight;

    /**
     * 基础代谢率
     */
    private double bmr;

    /**
     * 蛋白质量
     */
    private double proteinMass;

    /**
     * 肌肉质量
     */
    private double muscleMass;

    /**
     * 脂肪量
     */
    private double fatMass;

    /**
     * 体水分量
     */
    private double waterMass;

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getBmr() {
        return bmr;
    }

    public void setBmr(double bmr) {
        this.bmr = bmr;
    }

    public double getProteinMass() {
        return proteinMass;
    }

    public void setProteinMass(double proteinMass) {
        this.proteinMass = proteinMass;
    }

    public double getMuscleMass() {
        return muscleMass;
    }

    public void setMuscleMass(double muscleMass) {
        this.muscleMass = muscleMass;
    }

    public double getFatMass() {
        return fatMass;
    }

    public void setFatMass(double fatMass) {
        this.fatMass = fatMass;
    }

    public double getWaterMass() {
        return waterMass;
    }

    public void setWaterMass(double waterMass) {
        this.waterMass = waterMass;
    }

    public BodyComposition(double waterMass, double fatMass, double muscleMass, double proteinMass, double bmr, double weight, double height, double age) {
        this.waterMass = waterMass;
        this.fatMass = fatMass;
        this.muscleMass = muscleMass;
        this.proteinMass = proteinMass;
        this.bmr = bmr;
        this.weight = weight;
        this.height = height;
        this.age = age;
    }

    public BodyComposition() {
        this.age = 6;
        this.weight = 37;
        this.height = 119;
        this.waterMass = 0;
        this.fatMass = 0;
        this.muscleMass = 0;
        this.proteinMass = 0;
        this.bmr = 0;


    }
}
